package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.math.BigDecimal;
import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_ACCOUNT_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_COMPANY_ID;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_EMP_ID;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_EMP_SOC_INFO_ID;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_ID_CARD;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_MONTH;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_NAME;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_OVERDUE_FINE;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_PHONE;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_REALITY_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_REMARK;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_SERVICE_COST;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_SOC_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_STATUS;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_TOTAL_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_UNCOLLECTED_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.E_YEAR;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_ACCOUNT_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_COMPANY_ID;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_EMP_ID;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_EMP_SOC_INFO_ID;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_ID_CARD;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_MONTH;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_NAME;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_OVERDUE_FINE;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_PHONE;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_REALITY_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_REMARK;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_SERVICE_COST;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_SOC_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_STATUS;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_TOTAL_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_UNCOLLECTED_AMOUNT;
import static org.jsola.hr.example.EmpSocBackRecordInfoExample.N_YEAR;

/**
 * 社保回款信息
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【社保回款信息】列表展示对象")
@Data
public class EmpSocBackRecordInfoListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_EMP_SOC_INFO_ID, example = E_EMP_SOC_INFO_ID)
    private String empSocInfoId;

    @ApiModelProperty(notes = N_EMP_ID, example = E_EMP_ID)
    private String empId;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_PHONE, example = E_PHONE)
    private String phone;

    @ApiModelProperty(notes = N_ID_CARD, example = E_ID_CARD)
    private String idCard;

    @ApiModelProperty(notes = N_YEAR, example = E_YEAR)
    private String year;

    @ApiModelProperty(notes = N_MONTH, example = E_MONTH)
    private String month;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_SERVICE_COST, example = E_SERVICE_COST)
    private BigDecimal serviceCost;

    @ApiModelProperty(notes = N_SOC_AMOUNT, example = E_SOC_AMOUNT)
    private BigDecimal socAmount;

    @ApiModelProperty(notes = N_OVERDUE_FINE, example = E_OVERDUE_FINE)
    private BigDecimal overdueFine;

    @ApiModelProperty(notes = N_TOTAL_AMOUNT, example = E_TOTAL_AMOUNT)
    private BigDecimal totalAmount;

    @ApiModelProperty(notes = N_REALITY_AMOUNT, example = E_REALITY_AMOUNT)
    private BigDecimal realityAmount;

    @ApiModelProperty(notes = N_ACCOUNT_AMOUNT, example = E_ACCOUNT_AMOUNT)
    private BigDecimal accountAmount;

    @ApiModelProperty(notes = N_UNCOLLECTED_AMOUNT, example = E_UNCOLLECTED_AMOUNT)
    private BigDecimal uncollectedAmount;

    @ApiModelProperty(notes = N_STATUS, example = E_STATUS)
    private Integer status;

    @ApiModelProperty(notes = N_REMARK, example = E_REMARK)
    private String remark;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty("余额")
    private BigDecimal remainAmount;

    @ApiModelProperty("未回款金额(应收-回款实收-余额扣款)")
    private BigDecimal surplusAmount;

    @ApiModelProperty("公司名称")
    private String companyName;

    @ApiModelProperty("员工信息")
    private EmpInfoListVO empInfoVO;

    @ApiModelProperty("负责人名称")
    private String empResponsibleName;

    @ApiModelProperty("负责人名称")
    private String empResponsibleId;
}

